package novel.front.novellist.service.serviceImpl;

import novel.front.novellist.dao.WxOrderMapper;
import novel.front.novellist.entity.WxOrder;
import novel.front.novellist.service.WxOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by sutong on 2017/11/13.
 */
@Service("WxOrderService")
public class WxOrderServiceImpl implements WxOrderService {
    @Resource
    private WxOrderMapper wxOrderMapper;
    @Override
    public WxOrder selectByPrimaryUuid(String wxUuid) {
        return wxOrderMapper.selectByPrimaryUuid(wxUuid);
    }

    @Override
    public int insert(WxOrder record) {
        return wxOrderMapper.insert(record);
    }
}
